package com.mdd.common.validate.business;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("商户创建参数")
public class BusinessCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "categoryId参数缺失")
    @ApiModelProperty(value = "商户分类")
    private String categoryId;

    @NotNull(message = "logoUrl参数缺失")
    @ApiModelProperty(value = "门头照")
    private String logoUrl;

    @NotNull(message = "licenseUrl参数缺失")
    @ApiModelProperty(value = "营业执照")
    private String licenseUrl;

    @NotNull(message = "businessName参数缺失")
    @ApiModelProperty(value = "名称")
    private String businessName;

    @NotNull(message = "contact参数缺失")
    @ApiModelProperty(value = "联系人")
    private String contact;

    @NotNull(message = "mobile参数缺失")
    @ApiModelProperty(value = "联系电话")
    private String mobile;

    @NotNull(message = "province参数缺失")
    @ApiModelProperty(value = "省")
    private Long province;

    @NotNull(message = "city参数缺失")
    @ApiModelProperty(value = "市")
    private Long city;

    @NotNull(message = "district参数缺失")
    @ApiModelProperty(value = "区")
    private Long district;

    @NotNull(message = "address参数缺失")
    @ApiModelProperty(value = "详细地址")
    private String address;

    @NotNull(message = "longitude参数缺失")
    @ApiModelProperty(value = "经度")
    private String longitude;

    @NotNull(message = "latitude参数缺失")
    @ApiModelProperty(value = "纬度")
    private String latitude;

    @NotNull(message = "businessTime参数缺失")
    @ApiModelProperty(value = "营业时间")
    private String businessTime;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "门店状态:1-启用;0-停用;2-待审核;3-未通过")
    private String status;

    @NotNull(message = "content参数缺失")
    @ApiModelProperty(value = "商家介绍")
    private String content;

    @NotNull(message = "businessNotice参数缺失")
    @ApiModelProperty(value = "商家公告")
    private String businessNotice;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "管理员id")
    private Long userId;

}
